package objects 
{
	import flash.geom.Rectangle;
	import starling.display.Sprite;
	/**
	 * ...
	 * @author Tuan
	 */
	public class Road extends Sprite
	{
		public var nodes : Array  ;
		public function Road() 
		{
			nodes = new Array();
		}
		public function getNodesIndex (index : int) : Rectangle
		{
			return nodes[index];
		}
		public function getNodes():Array		
		{
			return nodes;
		}
		public function addNode (node : Rectangle) : void
		{
			nodes.push(node);
		}
	}

}